package com.bw.service.impl;

import com.bw.domain.Role;
import com.bw.domain.TbMenu;
import com.bw.mapper.MenuMapper;
import com.bw.service.MenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author bobo棒
 * @date 2025年02月21日 15:40
 */

@Service
public class MenuServiceImpl implements MenuService {
    @Autowired
    MenuMapper menuMapper;
    @Override
    public List<TbMenu> list(Integer userId) {
        return menuMapper.list(userId);
    }


}
